<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>lua51</Name>
        <Homepage>http://www.lua.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        <Summary>A light-weight programming language</Summary>
        <Description>lua51 is a powerful light-weight programming language designed for extending applications.</Description>
        <Archive sha1sum="b3882111ad02ecc6b972f8c1241647905cb2e3fc" type="targz">http://www.lua.org/ftp/lua-5.1.5.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">lua-5.1-cflags.diff</Patch>
            <Patch level="1">lua-arch.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>lua51</Name>
        <RuntimeDependencies>
            <Dependency>readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/sbin/lsmod</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/lua5.1</Path>
            <Path fileType="data">/luac5.1.1/luac.1</Path>
            <Path fileType="data">/lua5.1.1/lua.1</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/lua51.png">lua.png</AdditionalFile>
            <AdditionalFile target="/usr/lib/pkgconfig/lua5.1.pc" permission="644">lua.pc</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>lua51-devel</Name>
        <Summary>Development files for lua51</Summary>
        <RuntimeDependencies>
            <Dependency release="current">lua51</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-16</Date>
            <Version>5.1.5</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.1.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-09</Date>
            <Version>5.1.5</Version>
            <Comment>First release</Comment>
            <Name>Hakan Yıldız</Name>
            <Email>hknyldz93@gmail.com</Email>
        </Update>
    </History>
</PISI>
